package com.lovo.controller;


import com.lovo.service.IService;
import com.lovo.utile.dto.UserDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Description:
 *
 * @author LiuChengQi
 * @date Created on 2020/12/1
 */
@RestController()
public class GetPowerController {
    @Resource
    private IService service;
    @GetMapping
    public String getPower(@RequestBody UserDto userDto){
        String power = service.doPower(userDto);
        return power;
    }


}

